package com.opencv.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author huang_sen
 * @date 2021/3/26
 * @descripitions 医院科室表
 */
@ApiModel("医院科室表")
@TableName(value = "cgm_hospital_dept", autoResultMap = true)
public class CgmHospitalDeptEntity extends CgmBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 所属医院id
     */
    @ApiModelProperty(value = "所属医院id")
    private Long hospitalId;

    /**
     * 所属医院名称
     */
    @ApiModelProperty(value = "所属医院名称")
    private String hospitalName;

    /**
     * 父科室id
     */
    @ApiModelProperty(value = "父科室id")
    private Long parentId;

    /**
     * 科室名称
     */
    @ApiModelProperty(value = "科室名称")
    private String deptName;

    /**
     * 科室状态（0正常 1停用）
     */
    @ApiModelProperty(value = "科室状态（0正常 1停用）")
    private Integer status;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String leader;

    /**
     * 联系方式
     */
    @ApiModelProperty(value = "联系方式")
    private String contact;

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
